// The users module. If you do not need any specific features, you can
// leave it an empty object.
const data = {
  location: "rolles",
  modal: {
    property: [
      {
        description: "",
        key: "modelId",
        name: "模型Id",
        type: "input",
        value: "",
        disabled: false,
        edit: true,
        save: true,
        requre: true
      },
      {
        description: "",
        key: "comment",
        name: "信息",
        type: "textarea",
        value: "",
        disabled: false,
        edit: true,
        save: true,
        requre: true
      },
      {
        description: "",
        key: "_links",
        name: "链接",
        type: "input",
        disabled: true,
        edit: false
      }
    ]
  },
  table: {
    fields: [
      { key: "associate", label: "选择" },
      {
        key: "roleName",
        label: "角色名",
        sortable: true
      },
      {
        key: "roleDesc",
        label: "描述"
      },
      {
        key: "operation",
        label: "操作",
        sortable: true
      }
    ]
  }
};
function match(key) {
  return data.property[key];
}

export default data;
// The posts module. You can add any additional things you want.
